function ExportToTxtForTikZ( tEvent, strFileName )
	%
	[	tDoorSignal,			...
		tLaser1Signal,			...
		tLaser2Signal	] =		...
			tEvent.GetSignals();
	%
	[ fInitialJulianDate, fFinalJulianDate ] =		...
		Signal.GetTimeSpan(	[	tDoorSignal,		...
								tLaser1Signal,		...
								tLaser2Signal	],	...
							'max'					);
	%
	fSamplingTimeInMilliseconds		= 50;
	fAdditionalTimeInMilliseconds	= 200;
	%
	fSamplingTimeInJulianDates		= ( fSamplingTimeInMilliseconds / 1000 ) * Time.GetJulianSecond();
	fAdditionalTimeInJulianDates	= ( fAdditionalTimeInMilliseconds / 1000 ) * Time.GetJulianSecond();
	%
	afSamplingTimesInJulianDates =								...
			fInitialJulianDate - fAdditionalTimeInJulianDates	...
		:	fSamplingTimeInJulianDates							...
		:	fFinalJulianDate + fAdditionalTimeInJulianDates;
	%
	afSamplingTimesInSeconds =	( (0:numel(afSamplingTimesInJulianDates) - 1) ) * fSamplingTimeInMilliseconds / 1000;
	%
	afDoorSignal	= tDoorSignal.ExtractSamplesAt( afSamplingTimesInJulianDates );
	afLaser1Signal	= tLaser1Signal.ExtractSamplesAt( afSamplingTimesInJulianDates );
	afLaser2Signal	= tLaser2Signal.ExtractSamplesAt( afSamplingTimesInJulianDates );
	%
	MatlabToTikZ.ExportLineplot(							...
		strFileName,										...
		[													...
			afSamplingTimesInSeconds',						...
			afDoorSignal,									...	
			afLaser1Signal,									...	
			afLaser2Signal,									...	
		],													...
		[ {'time'}, {'door'}, {'laser1'}, {'laser2'} ],		...
		1,													...
		3,													...
		[ false, false, false, false ]						);
	%
end %

